//
//  VerifyTools.h
//  objective_c_language
//
//  Created by 王玉龙 on 2018/6/2.
//  Copyright © 2018年 longlong. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface VerifyTools : NSObject

// 新版手机号
+ (BOOL)isMobileNumber:(NSString *)mobileNum;

/*
 * 验证银行卡号
 */
+ (BOOL)isBankCard:(NSString *)cardNumber;

/*
 * 验证银行卡号
 */
+ (BOOL)isEmail:(NSString *)email;

/*
 * 验证密码是否为6-12位，由数字与字母组成
 */
+(BOOL)judgePassWordLegal:(NSString *)password;

/*
 * 验证身份证号
 */
+ (BOOL)isIdentityCard:(NSString *)IDCardNumber;

/*
 * 验证是否是有效数组
 * 非空 数组 count 大于0
 */
+ (BOOL)isValidArray:(id)object;

/*
 * 验证是否是有效字典
 */
+ (BOOL)isValidDictionary:(id)object;

@end
